using UnityEngine;
using System.Collections;

public class ButtonClickEffect : MonoBehaviour {
	void OnClick(){
		Vector3 pos = transform.position;
		
		pos += Vector3.forward * 0.1f;
		
		Cursor.mInstance.uiMouse.transform.position =  pos;
		
		Cursor.mInstance.uiMouse.Play(pos);
	}
}
